package cn.tedu.ivos.geofence.pojo.vo;

import cn.tedu.ivos.vehicle.pojo.vo.VehicleVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class GeofenceVO {
    @Schema(description = "电子围栏id")
    private Long id;

    @Schema(description = "电子围栏名称")
    private String name;

    @Schema(description = "电子围栏状态 启用1 禁用0")
    private String status;

    @Schema(description = "电子围栏坐标点")
    private String position;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @Schema(description = "围栏绑定车辆总数")
    private Integer totalNum;

    @Schema(description = "围栏绑定车辆可用数")
    private Integer availableNum;

    @Schema(description = "围栏绑定车辆列表")
    private List<VehicleVO> vehicleList;
}
